package com.example.android.notepad;

import com.example.android.notepad.NoteEditor.TitleEditTag;
import com.google.inject.AbstractModule;

public class BindEverything extends AbstractModule {

	@Override
	protected void configure() {
		bind(Integer.class).annotatedWith(TitleEditTag.class).toInstance(R.string.title_edit);
//		bind(Integer.class).annotatedWith(ListAdapterItemViewId.class).toInstance(R.layout.list_edit_screen_item);
//		
//		bind(Category.class).annotatedWith(Root.class).to(AndroidRootCategory.class);
//		bind(AlertDialogHelperFactory.class).toProvider(FactoryProvider.newFactory(AlertDialogHelperFactory.class, AlertDialogHelper.class));
////		bind(CategoryRowFactory.class).toProvider(FactoryProvider.newFactory(CategoryRowFactory.class, CategoryRow.class));
////		bind(FlashCardRowFactory.class).toProvider(FactoryProvider.newFactory(FlashCardRowFactory.class, FlashCardRow.class));
//		
//		bind(new TypeLiteral<Selector<Category>>(){}).annotatedWith(CategoryRenamerSelector.class).to(new TypeLiteral<Selector<Category>>(){}).in(Singleton.class);
//		bind(new TypeLiteral<Selector<Category>>(){}).annotatedWith(DatabaseBrowserCurrentCategory.class).to(new TypeLiteral<Selector<Category>>(){}).in(Singleton.class);
//		bind(new TypeLiteral<Selector<Category>>(){}).annotatedWith(DestinationCategory.class).to(new TypeLiteral<Selector<Category>>(){}).in(Singleton.class);
//		bind(new TypeLiteral<Selector<DatabaseItem>>(){}).annotatedWith(SourceItem.class).to(new TypeLiteral<Selector<DatabaseItem>>(){}).in(Singleton.class);
//		bind(new TypeLiteral<Selector<FlashCard>>(){}).annotatedWith(SourceItem.class).to(new TypeLiteral<Selector<FlashCard>>(){}).in(Singleton.class);
//		bind(new TypeLiteral<Selector<FlashCard>>(){}).annotatedWith(ReviewItem.class).to(new TypeLiteral<Selector<FlashCard>>(){}).in(Singleton.class);
	}

}
